<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>$Title$</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/bootstrap.css}">

</head>
<body>

    <div class="container">
        <p style="width: 100px;margin: 100px auto">
        <span>
            <a th:href="@{/login.html(lang=zh_CN)}">中文</a>
        </span>
            <br>
        <span>
            <a th:href="@{/login.html(lang=en_US)}">English</a>
        </span>
            <br>
         <span>
            <a th:href="@{/login.html(lang=ja_JP)}">日本語</a>
        </span>
            <br>
        <span>
            <a th:href="@{/login.html(lang=ko_KR)}">한국어</a>
        </span>
        </p>
        <div class="row col-lg-6 col-lg-offset-3" style="margin-top: 100px">
<!--            <p style="color: #b92c28" th:text="${session.SPRING_SECURITY_LAST_EXCEPTION}"></p>-->
            <p style="color: #b92c28" th:text="${SPRING_SECURITY_LAST_EXCEPTION}"></p>
            <h1 th:text="#{login.info}"></h1>
            <form class="form-horizontal" method="post" th:action="@{/doLogin}">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label" th:text="#{login.em}"></label>
                    <div class="col-sm-10">
                        <input type="text" name="uname" class="form-control" id="inputEmail3" th:placeholder="#{login.em}">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label" th:text="#{login.pwd}"></label>
                    <div class="col-sm-10">
                        <input type="password" name="pwd" class="form-control" id="inputPassword3" th:placeholder="#{login.pwd}">
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label" >[[#{code}]]</label>
                    <div class="col-sm-5">
                        <input type="text" name="kap" class="form-control" >
                    </div>
                    <div class="col-sm-5">
                        <img th:src="@{/vc.jpg}" height="30px" alt="">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"> [[#{remember}]]
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-success" th:text="#{login.btn}"></button>
                    </div>
                </div>
            </form>

        </div>
    </div>
</body>
</html>